<?php Zend_Layout::getMvcInstance()->setLayout('system'); ?>
<div class="ui-form ui-widget ui-widget-content ui-corner-all">
    <div class="ui-widget-header ui-corner-top">
    <?php echo  $this->translate('Error occured.'); ?>
    </div>

    <?php echo $this->exception->getMessage();?>
    <?php echo $this->exception->getFile();?>
    <?php echo $this->exception->getLine();?>

    <?php foreach($this->exception->getTrace() as $step): ?>
            <?php echo($step['file']);?>
            <?php echo($step['line']);?>
            <?php
            echo $step['class'];
            echo $step['type'];
            echo $step['function'];
            echo '(';
            Zend_Debug::dump($step['args']);
            echo ')';
            ?>

            <?php Zend_Debug::dump($step);?>
    <?php endforeach; ?>
</div>

